<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class usermodel extends CI_Model {
 function __construct()
        {
            parent::__construct();
        }
		
		
		function cekdb() { 
   /*  $username = $this->input->post('user_name'); 
    $pass = md5($this->input->post('password'));
    
    $this->db->where('USERNAME', $username);
    $this->db->where('PASSWORD', $pass); */
	
    $query = $this->db->get('user'); 
    return $query->result(); 
  }
		
		}

